package com.wr.hangzhounewlight.obj.vo.frontend;

import com.wr.hangzhounewlight.obj.database.SiloRawMaterialMapEntity;
import lombok.Data;

/**
 * @author yuanzhizhuo
 * createDate 2025/11/13
 */
@Data
public class SiloManagementVO {

    private String workshop;
    private String silo;
    private String materialId;
    private String materialCode;
    private String materialName;

    public SiloManagementVO(SiloRawMaterialMapEntity entity) {
        this.workshop = entity.getWorkshop();
        this.silo = entity.getSilo();
        this.materialId = entity.getMaterialId();
        this.materialCode = entity.getMaterialCode();
        this.materialName = entity.getMaterialName();
    }

}
